﻿using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using NHibernateSample.Domain.Entities;

namespace NHibernateSample.Data.Test
{
    [TestFixture]
    public class TransctionFixture
    {
        private Transction sample;

        [TestFixtureSetUp]
        public void TransctionFixtureSetUp()
        {
            sample = new Transction();
        }


        [Test]
        public void TransctionTest()
        {
            string newFirstName="beijing";
            sample.UpdateCustomer(1, newFirstName);
            Assert.AreEqual(newFirstName, sample.Get(1).FirstName);
        }
    }
}
